Tag Link | [Integer->BitNot] | Category | Math |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 5.0 |
Change | Unchanged | Data Source | Any |
Output Type | None (Modifies in place) | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0 |
[Integer->BitNot] flips every bit in the base integer.
[Integer Variable->(BitNot)]
No Parameters Required.
To perform the bitwise NOT operation on an integer:
Use the [Integer->BitNot] tag. Every bit in the target integer will be flipped. In the following example the integer 1 becomes the integer -2.
[Variable: 'Result'=1]
[($Result)->(BitNot)]
[Variable: 'Result']
-2